using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;

namespace AnimationPage.ViewModels;

public sealed partial class ChatPageViewModel : ViewModelBase
{
    [ObservableProperty]
    private bool _anyPopupVisible;

    [ObservableProperty]
    private string? _displayTitle;

    public ChatPageViewModel()
    {
        DisplayTitle = "你好好啊";
    }
    
    [RelayCommand]
    private void OnPopupClickaway()
    {
        
    }

    /// <summary>
    /// 打开搜索
    /// </summary>
    [RelayCommand]
    private void OnOpenSearch()
    {
        
    }

    /// <summary>
    /// 关闭搜索
    /// </summary>
    [RelayCommand]
    private void OnCloseSearch()
    {
        
    }
}